package com.jake.springboot.calculation.strategy.impl;

import com.jake.springboot.calculation.strategy.CalculationStrategy;
import org.springframework.stereotype.Component;

@Component("multiple")
public class MultiplicationStrategy implements CalculationStrategy {

    @Override
    public int operate(int num1, int num2) {
        return num1 * num2;
    }
}
